* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
    display: block;
}

body {
    /*line-height: 1;*/
    background: #fff;
    font-family: "Helvetica Neue", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
    color: #666;
    font-size: 14px;
    width:100%;
    /*line-height: 18px;*/
}
	
/* layout */

#cuerpo{
	margin: auto;
	height: 850px;
	width: 1150px;
}

#back_image{
    position: fixed;
    margin: auto;
    z-index: -1;
}
#wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    -webkit-box-shadow: 3px 3px 7px #777;
    -moz-box-shadow: 3px 3px 7px #777;
}

.form-bloque{
	width: 90%;
    background: none repeat scroll 0 0 rgba(155, 155, 155, 0);
    border: 1px solid rgba(155, 155, 155, 0.2);
	border-radius: 10px;
    box-shadow: 0 0 16px rgba(155, 155, 155, 0.2);
	-webkit-border-radius: 10px;
	display: block;
/*	margin: 20px auto;*/
    margin: 8px 0px 10px 0px;
	padding: 20px;
	position: relative;
	text-align: left;

	font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	font-size: 14px;
	margin-top: .5em;
	color: #666;
}

.bloque {
    width: 90%;
	background-color: rgba(243, 243, 243, .85);
	border: 1px solid #E5E5E5;
	border: 1px solid rgba(155, 155, 155, 0.2);
	box-shadow: 0 0 16px rgba(155, 155, 155, 0.2);
	-webkit-border-radius: 5px;
	display: block;
	margin: 2px 0px 10px 0px;
	padding: 10px;
	position: relative;
	text-align: left;
	overflow: hidden;
}

nav {
    width: 100%;
    height: 52px;
    margin: 0 auto;
}

nav.top_nav{
    background: rgba(150, 150, 165, 0.5);
}


header {
    position:relative;
    width: 100%;
    margin: 0 auto;
    background:rgba(200, 210, 250, 0.7);
}
header input{
    margin:2px;
}
header a{
    margin:2px;
}

#login-div{
    padding: 10px 0 10px 15px;
}

#main {
    width: 100%;
    margin: 0 auto;
/*    background: rgba(255, 255, 255, 0.85);*/
    overflow: hidden;
}

#content {
/*    float: right;*/
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    margin-right: 30px;
}

#sidebar {
    padding: 4px;
    overflow: auto;
    width: 19%;
    background:rgba(200, 210, 250, 0.7);
}

#sidebar li{
    padding-left: 5px;
    margin-top: 8px;
    border-bottom: 1px solid #DDD;
    padding-bottom: 2px;
}

#sidebar h3{
    margin-bottom: 20px;
}
footer {
    width: 100%;
    margin: 0 auto;
    clear: both;
    background: rgba(200, 210, 250, 0.7);
    
}

footer a{
    /*font-size: 18px;*/
}

/* basics */

h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
    clear: both;
    color: #333;
}

h2{
    font-size:16px;
    
}

#content a{
    display: inline-block;
}
a:link, a:visited {
    color:#1F4677;
    text-decoration: none;
}

a:hover, a:active {
    color: #333;
    text-decoration: underline;
}

p {
    margin-bottom: 15px;
}

li {
    padding-left: 5px;
}

/* nav */

nav .menu {
    font-size: 22px;
    font-weight: bold;
}

nav .menu ul {
    margin: 0;
    padding: 15px 20px 15px 20px;
    list-style: none;
    line-height: normal;
}

nav .menu li {
    display: block;
    float: left;
    text-align:center;
    width: 19%;
}

nav .menu a {
/*    display: block;
    float: left;*/
    margin-right: 5px;
    padding: 0px 15px;
    text-decoration: none;
    color: #1F4677;
}

@media all and (max-width: 800px){
    #wrapper{
        width: 100%
    }
    nav {
        height: 50px;
    }
    nav .menu{
        font-size: 20px;
    }
    nav .menu a{
        padding: 0px 10px;
    }
}

@media all and (max-width: 600px){
    nav {
        height: 48px;
    }
    nav .menu{
        font-size: 16px;
    }
    nav .menu ul {
        padding: 16px 5px 16px 5px;
    }
    nav .menu li {
        width: 18%;
    }
    nav .menu a{
        padding: 0px 0px;
    }
}

@media all and (max-width: 400px){
    nav {
        height: 30px;
    }
    nav .menu{
        font-size: 10px;
    }
    nav .menu ul {
        padding: 10px 0px 10px 0px;
    }
    nav .menu li {
        width: 18%;
    }
}

@media all and (max-width: 250px){
    nav {
        height: 24px;
    }
    nav .menu{
        font-size: 8px;
    }
    nav .menu ul {
        padding: 8px 0px 8px 0px;
    }
    nav .menu li {
        width: 17%;
    }
}


nav .menu a:hover {
text-decoration: underline;
}

/** HEADER */

#workespeis_bd {
    position: absolute;
    top: -20px;
    right: -20px;
}

header h1, header p {
    margin: 0;
    padding: 0 0 0 15px;
    line-height: normal;
}

header h1 {
	font-size: 24px;
    padding-top: 20px;
}

header p.cita {
    /*margin:10px;*/
    margin: 10px 0px;
    width: 70%;
    font-style: italic;
    font-size: 16px;
    color: #333;
}

p.texto{
    /*margin:10px;*/
    margin: 10px 0px;
    width: 70%;
    font-size: 12px;
    background: rgba(250,250,250,0.4);
    padding: 10px;
}

/** ARTICLES **/
article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

#content p, ul, ol, hr {
margin-bottom: 8px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
color: #333;
margin: 8px 0 8px 0;
line-height: 1.0em;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
}

aside ul {
list-style: inside;
color: #333;
margin-bottom: 20px;
margin-top: -15px;
}

#footer-area {
color: #333;
/*font-size: 90%;*/
padding: 18px 0;
overflow: hidden;
text-align: center;
}

.footer-segment {
float: left;
margin-right: 20px;
margin-left: 20px;
width: 190px;
}

footer aside h4 {
color: #333;
font-size: 16px;
line-height: 1.5em;
}

footer p {
margin-top: -15px;
}

div.table{ display:table; table-layout: fixed; width: 100%;}
div.cell {display:table-cell;}
div.row {display:table-row;}

.table{ display:table;}
.row { display:table-row;}
.cell {display:table-cell;}

.error {
    width: 90%;
	background-color: rgba(255, 124, 124, .85);
	border: 1px solid #E5E5E5;
	border: 1px solid rgba(155, 155, 155, 0.2);
	box-shadow: 0 0 16px rgba(155, 155, 155, 0.2);
	-webkit-border-radius: 5px;
	display: block;
	margin: 10px 0px 10px 0px;
	padding: 10px;
	position: relative;
	text-align: left;
}

.mensaje {
	background-color: rgba(124, 255, 171, .85);
	border: 1px solid #E5E5E5;
	border: 1px solid rgba(155, 155, 155, 0.2);
	box-shadow: 0 0 16px rgba(155, 155, 155, 0.2);
	-webkit-border-radius: 5px;
	display: block;
	margin: 10px 0px 10px 0px;
	padding: 10px;
	position: relative;
	text-align: left;
}
.mini-button{
    border: 1px solid #909090;
    background: #CCC;
    padding: 10px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #333;
    font-size: 18px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    line-height: 10px;
}

.button {
    border: 1px solid #909090;
    background: #CCC;
    padding: 10px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #333;
    font-size: 18px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    line-height: 20px;
}

.button:hover {
   background: #DDD;
   color: #000;
}

.button:active {
   background: #EEE;
}

.masuno {
    border: 1px solid #909090;
    background: #FB0;
    padding: 10px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #333;
    font-size: 18px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    line-height: 10px;
}

.masuno:hover {
   background: #F60;
   color: #000;
}

.masuno:active {
   background: #D20;
}



.info {
	text-align: right;
	font-style: italic;
	font-size: 10px;
	padding-bottom: 5px;
}


textarea {
    width: 90% !important;
	font-size: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 2px solid #DDD;
	background-color: rgba(255, 255, 255, 0.6);
}

.input {
	height: 30px;
	max-width: 500px;
	width: 90%;
	font-size: 16px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 2px solid #DDD;
	background-color: rgba(255, 255, 255, 0.6);
	padding-left: 3px;
}

.pre-input {
	margin: 0px 2px;
	text-align: left;
	font-size: 16px;
	color: #666;
	line-height: 35px;
}


table#doc_table{
    border-collapse: collapse;
    width: 90%;
    margin-bottom: 8px;
}

table#doc_table th{
    background: rgba(150,150,190,0.7);
    text-align:center;
    padding: 6px 0px;
}

table#doc_table td{
    background: rgba(200,200,230,0.5);
    text-align:center;
    padding: 6px 3px;
    border-bottom: 1px solid #EEE;
}

.nombre_doc{
    width: 280px;
    overflow: hidden;
    height:16px;
}

.email_doc{
    width: 200px;
    overflow: hidden;
}


.img_odd{
    float: right;
    max-height: 200px;
    max-width: 200px;
}
.img_even{
    float: left;
    max-height: 200px;
    max-width: 200px;
}

.panel{
    padding: 20px;
    background: rgba(120,140,220,0.2);
}

p.nombre{
    font-size: 16px;
    font-weight: bolder;
}

.black{
    font-weight: bold;
}

#contacto h1{
    font-size: 24px;
    color: #229;
    font-family: monospace;
}

#contacto h2{
    font-weight: normal;
    font-size: 18px;
}

#contacto p{
    font-size: 16px;
    color: #222;
    background: rgba(240,240,240,0.5);
    padding:20px;
}

#inicio h1{
    font-size: 32px;
    color: #226;
    margin-bottom: 10px;
}

#inicio p{
    font-size: 1.2em;
    font-family: sans-serif;
    color: #222;
    background: rgba(240,240,240,0.7);
    padding:12px;
}
#workespeis{
    font-size: 38px;
    display:inline-block;
    position: relative;
    top: 2px;
}

.logotipo{
    float: right;
}

.transparent{
    background: transparent;
}


.socio{
	min-height: 230px;
}

.socio h3{
	display:inline-block;
}
